<div class="admin-content">
	<div class="uk_yisearch">
		<div class="am-form am-form-inline">
			<div class="am-form-group">
				<label for="doc-ipt-email-1">会员卡号</label>
				<input type="email" ng-model="search.card_number" id="card_number" placeholder="输入您的会员卡号"/>
			</div>
            <div class="am-form-group">
				<label for="doc-ipt-email-1">身份证号</label>
				<input type="email" ng-model="search.cardid" id="id_card" placeholder="输入您的身份证号"/>
			</div>
			<div class="am-margin am-fr">
				<button type="button" class="am-btn am-btn-primary" ng-click="searchInfo()">确定</button>
			</div>
		</div>
	</div>
</div>
<div id="uk_order">
	<div data-am-widget="tabs" class="am-tabs am-tabs-default">
		<ul class="am-tabs-nav am-cf">
			<li class="am-active">
				<a id="info">老人信息</a>
			</li>
			<li class="">
				<a id="order">订单历史</a>
			</li>
		</ul>
		<div class="am-tabs-bd uk_o_group">
			<div data-tab-panel-0 class=" am-active"  id="infolist">
				<form class="am-form">
					<fieldset disabled>
						<div class="am-form-group">
							<label for="doc-ds-ipt-1">姓名</label>
							<input type="text" class="am-form-field" value="{{search.name}}">
						</div>
						<div class="am-form-group">
							<label for="doc-ds-ipt-1">社区</label>
							<input type="text" class="am-form-field" value="{{search.shequ}}">
						</div>
						<div class="am-form-group">
							<label for="doc-ds-ipt-1">社区电话</label>
							<input type="text" class="am-form-field" value="">
						</div>
                        <div class="am-form-group">
							<label for="doc-ds-ipt-1">会员卡余额</label>
							<input type="text" class="am-form-field" value="{{search.fund}}">
						</div>
					</fieldset>
				</form>
			</div>
			<div data-tab-panel-1 class="am-tab-panel  am-active" id="orderlist" style="display: none;">
				<table class="am-table am-table-bordered am-table-radius am-table-striped am-table-centered">
					<thead>
						<tr>
							<!--<th>订单号</th>-->
							<th>服务项目</th>
							<th>订单状态</th>
							<th>操作</th>
						</tr>
					</thead>
					<tbody>
						<tr ng-repeat="item in list" >
							<!--<td>{{item.x}}</td>-->
							<td>{{item.serviceType1_title}}&nbsp;{{item.serviceType2_title}}</td>
							<td>{{item.status}}</td>
							<td>
								<a class="am-btn am-btn-primary am-btn-xs"  href="#/index/detail/{{item.order_id}}">详情</a>
							</td>
						</tr>
					</tbody>
				</table>
				<ul  data-am-widget="pagination" class="am-pagination am-pagination-default" >
			        <li  class="am-pagination-first "><a ng-click="changePage(1)" class="">首页</a></li>
			        <li class="am-pagination-prev "><a ng-show="currentPage>1" class="" ng-click="changePage(currentPage-1)">上一页</a></li>
			        <!--<li><span ng-show="frontdotShow">…</span></li>-->
			        <li ng-repeat="item in pageList" ng-click="changePage(item.number)" class="{{item.active}}"><a>{{item.number}}</a></li>
			        <!--<li><span ng-show="backdotShow">…</span></li>-->
			        <li class="am-pagination-next "> <a ng-show="currentPage<totalPage" class=""  ng-click="changePage(currentPage+1)">下一页</a></li>
			        <li class="am-pagination-last "><a class="" ng-click="changePage(totalPage)">尾页</a></li>
			    </ul>
			</div>
		</div>
	</div>
</div>
<script>
$(document).ready(function(){
    $("#info").click(function(){
        $("#infolist").show();
        $("#orderlist").hide();
    });
     $("#order").click(function(){
        $("#orderlist").show();
        $("#infolist").hide();
    });
});
</script>